<%@ page language="java" contentType="text/html; charset=utf8"
	pageEncoding="utf8"%>
<%@taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<%@include file="/resources/css/title.jsp"%>
<body onload="CheckForReload()">

<div class="wrapper">

<%@include file="/resources/css/header.jsp"%>

<%@include file="/resources/css/menu.jsp"%>

<center>

<table class="data_title">
	<tr class="data_title"><td>
		<h3><spring:message code="label.rates" /></h3>
	</td></tr>

    <c:if test="${!empty currencyList}">
        <tr><td class="data_table">
            <table class="rates">
                <tr class="data_header">
                    <th class="data_header"><spring:message code="label.currency_id" /></th>
                    <th class="data_header"><spring:message code="label.currency_exchange_rate" /></th>

                </tr>
                <c:forEach items="${currencyList}" var="currency" varStatus="loopStatus">
                    <tr class="${loopStatus.index % 2 == 0 ? 'odd' : 'even'}">
                        <td class="data">${currency.id}</td>
                        <td class="data">${currency.exchangeRate}</td>
                    </tr>
                </c:forEach>
            </table>
        </td></tr>
    </c:if>

</table>

</center>

<div class="push"></div>
</div>

<%@include file="/resources/css/footer.jsp"%>

</body>
</html>
